package com.api.phm.domain.model;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class AlaRuleDevModel {
    private Long plcId;
    private Long robotId;
    private Long elementId;
    private String datCol;
    private String key;

    public AlaRuleDevModel(Long plcId, Long robotId, Long elementId, String datCol, String key) {
        this.plcId = plcId;
        this.robotId = robotId;
        this.elementId = elementId;
        this.datCol = datCol;
        this.key = key;
    }

    public AlaRuleDevModel(String key) {
        this.key = key;
    }

    public AlaRuleDevModel(Long plcId, Long robotId, Long elementId, String datCol) {
        this.plcId = plcId;
        this.robotId = robotId;
        this.elementId = elementId;
        this.datCol = datCol;
    }
}
